package cate.game.train.hero.msg;


import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTrain;
import cate.game.res.MixRes;
import easy.java.dev.note.NoteField;


@ClientMsg(title = "英雄升星挑战 の 返回")
public class StarUpChallengeResultResp implements MsgOutput {

    @NoteField(value = "挑战是否成功")
    public boolean win;

    @NoteField(value = "英雄Uid")
    public String uid;

    @NoteField(value = "任务ID")
    public int taskId;

    @NoteField(value = "获得的奖励", detail = "如果失败或者领取过首通奖励，则为null")
    public MixRes reward = new MixRes();

    @Override
    public MsgConfig conf() {
        return MsgIdBTrain.STAR_UP_CHALLENGE_RESULT_RESP;
    }
}
